package dddd;

import java.util.Scanner;

public class SalesClerk1 {
    String[] java = new String[2];
    public SalesClerk1(){
        java[0] = "java";
        java[1] = "math";
    }
    public static void func(){

    }
    public static void main(String[] args) {
        SalesClerk1 salesClerk1 = new SalesClerk1();

        while(true){
            System.out.println("你想咨询哪一类书籍");
            Scanner scan = new Scanner(System.in);
            String no = scan.nextLine();
            if(no.equals(salesClerk1.java[0])){
                System.out.println("《Java程序设计》");
            }
        }



    }
}
